package org.sgsm.dungeon.generator;

import java.util.ArrayList;
import java.util.List;

import org.sgsm.dungeon.generator.method.Method;

public class ServiceType
{
  protected String _name;
  protected List<Method> _methodList;
  protected String _package;
  protected boolean _crud;

  public ServiceType()
  {
    _methodList = new ArrayList<Method>();
  }

  public void setName(String name)
  {
    this._name = name;
  }

  public String getName()
  {
    return _name;
  }

  public void setMethodList(List<Method> methodList)
  {
    this._methodList = methodList;
  }

  public List<Method> getMethodList()
  {
    return _methodList;
  }

  public void setPackage(String p)
  {
    this._package = p;
  }

  public String getPackage()
  {
    return _package;
  }

  public void setCrud(boolean crud)
  {
    this._crud = crud;
  }

  public boolean isCrud()
  {
    return _crud;
  }
}
